package com.ym.medical.dao;

import com.ym.medical.domain.entity.NormalTradeBillEntity;
import com.ym.medical.domain.param.NormalTradeBillParam;
import com.ym.medical.domain.param.NormalTradeBillQueryParam;
import com.ym.medical.domain.vo.NormalTradeBillListPcVO;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 第三方和平台均存在或异常处理后的账单Dao接口
 *
 * @author ym
 * @date 2020-08-24
 */
@Repository
public interface NormalTradeBillDao extends Mapper<NormalTradeBillEntity> {

	List<NormalTradeBillListPcVO> selectListPC(NormalTradeBillQueryParam queryParam);

	List<NormalTradeBillEntity> selectBillByModel(NormalTradeBillParam model);

	/**
	 * 插入正常账单
	 * @param normalTradeBill
	 */
	int insertNormalTradeBill(NormalTradeBillEntity normalTradeBill);


}
